Integrand size = 37, antiderivative size = 63 \[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\frac {2 \sqrt {e} E\left (\left .\arcsin \left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d}-\frac {2 \sqrt {e} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right ),-1\right )}{d} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {704, 313, 227, 1213, 435} \[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\frac {2 \sqrt {e} E\left (\left .\arcsin \left (\frac {\sqrt {c e+d x e}}{\sqrt {e}}\right )\right |-1\right )}{d}-\frac {2 \sqrt {e} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {c e+d x e}}{\sqrt {e}}\right ),-1\right )}{d} \]
[In]
[Out]
Rule 227
Rule 313
Rule 435
Rule 704
Rule 1213
Rubi steps \begin{align*} \text {integral}& = \frac {2 \text {Subst}\left (\int \frac {x^2}{\sqrt {1-\frac {x^4}{e^2}}} \, dx,x,\sqrt {c e+d e x}\right )}{d e} \\ & = -\frac {2 \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^4}{e^2}}} \, dx,x,\sqrt {c e+d e x}\right )}{d}+\frac {2 \text {Subst}\left (\int \frac {1+\frac {x^2}{e}}{\sqrt {1-\frac {x^4}{e^2}}} \, dx,x,\sqrt {c e+d e x}\right )}{d} \\ & = -\frac {2 \sqrt {e} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d}+\frac {2 \text {Subst}\left (\int \frac {\sqrt {1+\frac {x^2}{e}}}{\sqrt {1-\frac {x^2}{e}}} \, dx,x,\sqrt {c e+d e x}\right )}{d} \\ & = \frac {2 \sqrt {e} E\left (\left .\sin ^{-1}\left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d}-\frac {2 \sqrt {e} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {c e+d e x}}{\sqrt {e}}\right )\right |-1\right )}{d} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.03 (sec) , antiderivative size = 40, normalized size of antiderivative = 0.63 \[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\frac {2 (c+d x) \sqrt {e (c+d x)} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {3}{4},\frac {7}{4},(c+d x)^2\right )}{3 d} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(117\) vs. \(2(51)=102\).
Time = 2.67 (sec) , antiderivative size = 118, normalized size of antiderivative = 1.87
method | result | size |
default | \(\frac {\sqrt {e \left (d x +c \right )}\, \sqrt {-d^{2} x^{2}-2 c d x -c^{2}+1}\, \sqrt {-2 d x -2 c +2}\, \sqrt {d x +c}\, \sqrt {2 d x +2 c +2}\, E\left (\frac {\sqrt {-2 d x -2 c +2}}{2}, \sqrt {2}\right )}{d \left (d^{3} x^{3}+3 c \,d^{2} x^{2}+3 c^{2} d x +c^{3}-d x -c \right )}\) | \(118\) |
elliptic | \(\frac {\sqrt {-e \left (d x +c \right ) \left (d^{2} x^{2}+2 c d x +c^{2}-1\right )}\, \sqrt {e \left (d x +c \right )}\, \left (\frac {2 c e \left (-\frac {c +1}{d}+\frac {c -1}{d}\right ) \sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}\, \sqrt {\frac {x +\frac {c}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\, \sqrt {\frac {x +\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c +1}{d}}}\, F\left (\sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}, \sqrt {\frac {-\frac {c -1}{d}+\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\right )}{\sqrt {-d^{3} e \,x^{3}-3 c \,d^{2} e \,x^{2}-3 c^{2} d e x -e \,c^{3}+d e x +c e}}+\frac {2 d e \left (-\frac {c +1}{d}+\frac {c -1}{d}\right ) \sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}\, \sqrt {\frac {x +\frac {c}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\, \sqrt {\frac {x +\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c +1}{d}}}\, \left (\left (-\frac {c -1}{d}+\frac {c}{d}\right ) E\left (\sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}, \sqrt {\frac {-\frac {c -1}{d}+\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\right )-\frac {c F\left (\sqrt {\frac {x +\frac {c -1}{d}}{-\frac {c +1}{d}+\frac {c -1}{d}}}, \sqrt {\frac {-\frac {c -1}{d}+\frac {c +1}{d}}{-\frac {c -1}{d}+\frac {c}{d}}}\right )}{d}\right )}{\sqrt {-d^{3} e \,x^{3}-3 c \,d^{2} e \,x^{2}-3 c^{2} d e x -e \,c^{3}+d e x +c e}}\right )}{\left (d x +c \right ) \sqrt {-d^{2} x^{2}-2 c d x -c^{2}+1}\, e}\) | \(589\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.12 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.57 \[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\frac {2 \, \sqrt {-d^{3} e} {\rm weierstrassZeta}\left (\frac {4}{d^{2}}, 0, {\rm weierstrassPInverse}\left (\frac {4}{d^{2}}, 0, \frac {d x + c}{d}\right )\right )}{d^{2}} \]
[In]
[Out]
\[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\int \frac {\sqrt {e \left (c + d x\right )}}{\sqrt {- \left (c + d x - 1\right ) \left (c + d x + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\int { \frac {\sqrt {d e x + c e}}{\sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\int { \frac {\sqrt {d e x + c e}}{\sqrt {-d^{2} x^{2} - 2 \, c d x - c^{2} + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {c e+d e x}}{\sqrt {1-c^2-2 c d x-d^2 x^2}} \, dx=\int \frac {\sqrt {c\,e+d\,e\,x}}{\sqrt {-c^2-2\,c\,d\,x-d^2\,x^2+1}} \,d x \]
[In]
[Out]